﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using CashFlow.Web.Def;
using CashFlow.Db.Entity;

namespace CashFlow.Web.Service
{
    public interface IAppointmentService : IService<AppointmentEntity>
    {
        EAppointmentResult DoAppointment(int userId, string type);

        IList<UserInfoEntity> QueryTeamNotAppointmentUsers(
            int userId
            , string date);

        IList<UserInfoEntity> QueryTeamAppointmentUsers(
            int userId
            , string date);

        IList<AppointmentUserInfoView2> QueryAllByUserId(int userId);
    }
}